package com.wzx.ptplatform.service;

import com.wzx.ptplatform.domain.ProjectExperience;
import com.wzx.ptplatform.utils.PtplatformException;
import org.springframework.data.domain.Page;

import java.net.URLConnection;

/**
 * @author 紫煦桉
 */
public interface ProjectExperienceService {

    /**
     * findList
     * @param projectExperience
     * @param page
     * @param limit
     * @return
     */
    Page<ProjectExperience> findList(ProjectExperience projectExperience, Integer page, Integer limit) throws PtplatformException;

    /**
     * findById
     * @param id
     * @return
     * @throws PtplatformException
     */
    ProjectExperience findById(long id) throws PtplatformException;

    /**
     * saveOrEdit
     * @param projectExperience
     * @return
     * @throws PtplatformException
     */
    boolean saveOrEdit(ProjectExperience projectExperience) throws PtplatformException;

    /**
     * deleteById
     * @param id
     * @return
     * @throws PtplatformException
     */
    boolean deleteById(long id) throws PtplatformException;
}
